<shutdown> : Shutdown/Reboot Computer
Exit Windows, shutdown computer, log off user.
Syntax:
<shutdown>("How", Force)
How
Can be one of these values:
"LOGOFF"
"REBOOT"
"SHUTDOWN"
"POWEROFF"
Force
If 1, the shutdown will proceed even if there is an application that refuses
shutdown due unsaved data or other reason. In such the case there can be a data
loss. If 0, the shutdown will proceed only if all the running applications
accepts system shutdown query.
Example:
<#> This macro will reboot computer
<#>
<cmds>
<shutdown>("REBOOT",0)